<template>
	<view class="music-item-v1">
		<image :src="imageUrl" mode="widthFix"></image>
		<view class="content">
			<view class="text">
				<view class="song-name">{{songName}}</view>
				<view class="other">{{singer}}</view>
			</view>
			<uni-icons type="forward" size="20" color="#999"></uni-icons>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			imageUrl: {
				type: String
			},
			songName: {
				type: String
			},
			singer: {
				type: String
			}
		}
	}
</script>

<style scoped>
	.music-item-v1 {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-top: 20rpx;
	}
	.music-item-v1 image {
		width: 15%;
		border-radius: 5px;
	}
	.music-item-v1 .content {
		width: 80%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.content .text .song-name {
		font-size: 36rpx;
		margin-bottom: 12rpx;
		color: #333;
	}
	.content .text .other {
		font-size: 28rpx;
		color: #ccc;
	}
</style>
